package net.ericaro.neojavagen.blocks;

/**
 * <b>SwitchLabel</b> ::= <{@link net .ericaro .neojavagen .blocks .CaseConstantExpresion CaseConstantExpresion}> <
 * {@link net .ericaro .neojavagen .blocks .CaseEnumConstantName CaseEnumConstantName}> <{@link net .ericaro .neojavagen .blocks .CaseDefault CaseDefault}>
 * 
 * @author eric@ericaro.net
 */
public class SwitchLabel extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.blocks.CaseConstantExpresion caseConstantExpresion;

	private net.ericaro.neojavagen.blocks.CaseDefault caseDefault;

	private net.ericaro.neojavagen.blocks.CaseEnumConstantName caseEnumConstantName;

	public SwitchLabel(net.ericaro.neojavagen.blocks.CaseConstantExpresion caseConstantExpresion, net.ericaro.neojavagen.blocks.CaseEnumConstantName caseEnumConstantName, net.ericaro.neojavagen.blocks.CaseDefault caseDefault) {
		super();
		this.caseConstantExpresion = caseConstantExpresion;
		this.caseEnumConstantName = caseEnumConstantName;
		this.caseDefault = caseDefault;
	}

	public net.ericaro.neojavagen.blocks.CaseConstantExpresion getCaseConstantExpresion() {
		return caseConstantExpresion;
	}

	public net.ericaro.neojavagen.blocks.CaseDefault getCaseDefault() {
		return caseDefault;
	}

	public net.ericaro.neojavagen.blocks.CaseEnumConstantName getCaseEnumConstantName() {
		return caseEnumConstantName;
	}

	public void setCaseConstantExpresion(net.ericaro.neojavagen.blocks.CaseConstantExpresion caseConstantExpresion) {
		this.caseConstantExpresion = caseConstantExpresion;
	}

	public void setCaseDefault(net.ericaro.neojavagen.blocks.CaseDefault caseDefault) {
		this.caseDefault = caseDefault;
	}

	public void setCaseEnumConstantName(net.ericaro.neojavagen.blocks.CaseEnumConstantName caseEnumConstantName) {
		this.caseEnumConstantName = caseEnumConstantName;
	}

	@Override
	public java.lang.String toString() {
		return print(caseConstantExpresion, caseEnumConstantName, caseDefault);
	}
}
